package org.example.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name = "result")
@Data
public class Result implements Serializable {
    @Id
    private int id;
    private int studentid;
    private int score;
    private String status; //0无效，1有效 状态字段，用于在tcc的try阶段锁定资源
}
